package com.groupbuying.sysconfig.dao;

import com.groupbuying.sysconfig.domain.SysconfigOpexRuleDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 运营规则配置表
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-09-22 00:05:40
 * @des
 */

@Mapper
@Repository
public interface SysconfigOpexRuleDao {

	SysconfigOpexRuleDO get(String ruleId);
	
	List<SysconfigOpexRuleDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SysconfigOpexRuleDO sysconfigOpexRule);
	
	int update(SysconfigOpexRuleDO sysconfigOpexRule);
	
	int remove(String rule_id);
	
	int batchRemove(String[] ruleIds);
}
